/*
* $Id: ViewPoints.h 31 2010-02-17 16:55:56Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _VIEW_POINTS_H_
#define _VIEW_POINTS_H_

#include "ViewTable.h"

class CViewPoints : public CViewTable, public ISubscriber
{
protected:
	virtual void Init();
	void SetManipulation(JournalEnum::typeItemMnpl type, int nId);
protected:
	DECLARE_MESSAGE_MAP();
	afx_msg void OnAddPoint();
	afx_msg void OnDeletePoint();
	afx_msg void OnChangePoint();
public:
	CViewPoints(CState* pState);
	virtual ~CViewPoints();
public:
	virtual bool IsViewState(State state);
	virtual void SetState();
	virtual void EventHandler();
};

#endif/*_VIEW_POINTS_H_*/